package cn.bbs.ba.ActionServlet;

public class ObParm{
	public void amethod(){
    	ValHold v = new ValHold();
    	another(v);
        System.out.println(v.i);
    }
    public void another(ValHold v){
    	v.i = 20;
			ValHold vh = new ValHold();
       v =  vh;
        System.out.println(v.i);
    }
    public static void main(String[] argv){
    	ObParm o = new ObParm();
    	o.amethod();
    }
} 
